/**
 * 安全API
 */
import Quality from '@/api/quality'
import { qualityApiUrl } from '@/api/config.js'
const SUB_SYSTEM = qualityApiUrl + '/security'
// const SUB_SYSTEM = '/mock/27/security' // mock
const checkRecord = new Quality(SUB_SYSTEM, '/check-record') // 安全检查记录
const risksList = new Quality(SUB_SYSTEM, '/risks-list', true) // 安全隐患清单维护
const subItem = new Quality(SUB_SYSTEM, '/risks-list/sub-item', true) // 安全隐患清单-分部分项
const checkType = new Quality(SUB_SYSTEM, '/check-type', true) // 安全检查类型维护
const problemRectification = new Quality(SUB_SYSTEM, '/problem-rectification') // 安全问题整改管理
const employees = new Quality(SUB_SYSTEM, '/employees') // 安全人员
const expert = new Quality(SUB_SYSTEM, '/expert') // 专家组成员
const group = new Quality(SUB_SYSTEM, '/expert/group', true) // 安全专家委员会
const lesson = new Quality(SUB_SYSTEM, '/expert/class') // 安全专家成员上课
const print = new Quality(SUB_SYSTEM, '/check-record/print') // 安全检查记录打印

export {
  checkRecord,
  risksList,
  subItem,
  checkType,
  problemRectification,
  employees,
  group,
  expert,
  lesson,
  print
}